﻿namespace SampleApplication.CoffeeShopSample.Dependencies.Application
{
    #region Usings

    using System.Diagnostics.CodeAnalysis;

    #endregion Usings

    public class Console : IConsole
    {
        [ExcludeFromCodeCoverage]
        public void WriteLine(string message)
        {
            System.Console.WriteLine(message);
        }

        [ExcludeFromCodeCoverage]
        public string ReadLine()
        {
            return System.Console.ReadLine();
        }

        [ExcludeFromCodeCoverage]
        public void WaitForAnyKeyPressed()
        {
            System.Console.ReadKey();
        }

        [ExcludeFromCodeCoverage]
        public void Clear()
        {
            System.Console.Clear();
        }
    }
}